<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的第一个页面</title>
    <style>
        header {
            width: 100%;
            height: 100px;
            background-color: skyblue;
        }

        header nav {
            width: 960px;
            height: 100px;
            background-color: brown;
            margin: 0 auto;
            text-align: center;
        }

        header nav span {
            line-height: 100px;
            margin-left: 30px;
        }

        header nav span a {
            color: black;
            text-decoration: none;
            font-weight: 900;
        }
    </style>
</head>

<body>
    <header>
        <nav>
            <span>
                <a href="">首页</a>
            </span>
            <span>
                <a href="">娱乐</a>
            </span>
            <span>
                <a href="">体育</a>
            </span>
            <span>
                <a href="">餐饮</a>
            </span>
            <span>
                <a href="">文学</a>
            </span>
            <span>
                <a href="">科技</a>
            </span>
            <span>
                <a href="">音乐</a>
            </span>
        </nav>
    </header>
    <!-- cli 命令行操作 
         gui 可视化工具操作 -->
   
</body>

</html>